package com.skd.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skd.common.utils.PageUtils;
import com.skd.mall.product.entity.CategoryEntity;
import com.skd.mall.product.vo.Catalog2VO;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author skadi
 * @email 2328158977@qq.com
 * @date 2024-08-07 14:14:44
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryCategoryWithTree(Map<String, Object> params);

    void removeByIdsWithLogic(List<Long> list);

    Long[] findCatelogPath(Long catelogID);

    void updateDetail(CategoryEntity category);

    Map<String, List<Catalog2VO>> getCatalog2JSON();
}

